Function at 0x43a410
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x4ef464]
cmp eax, 1
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
je 0x43a9c1
push str.TBK_ENABLE_VERBOSE_STACK_TRACE
mov dword [0x4ef464], 1
call fcn.004618c0
add esp, 4
mov esi, eax
test esi, esi
je 0x43a496
movsx eax, byte [esi]
test eax, eax
je 0x43a496
push eax
call fcn.004692a0
movsx eax, al
add esp, 4
cmp eax, 0x74
je 0x43a5a4
cmp eax, 0x79
je 0x43a5a4
mov dword [ebp - 0x10], 0
mov ebx, esi
jmp 0x43a47e
inc ebx
movsx eax, byte [ebx]
test eax, eax
je 0x43a588
push eax
call fcn.004695a0
add esp, 4
test eax, eax
jne 0x43a47d
push str.FOR_ENABLE_VERBOSE_STACK_TRACE
call fcn.004618c0
add esp, 4
mov esi, eax
test esi, esi
je 0x43a4f2
movsx eax, byte [esi]
test eax, eax
je 0x43a4f2
push eax
call fcn.004692a0
movsx eax, al
add esp, 4
cmp eax, 0x74
je 0x43a5a4
cmp eax, 0x79
je 0x43a5a4
mov dword [ebp - 0x14], 0
mov ebx, esi
jmp 0x43a4da
inc ebx
movsx eax, byte [ebx]
test eax, eax
je 0x43a5ab
push eax
call fcn.004695a0
add esp, 4
test eax, eax
jne 0x43a4d9
mov ebx, 1
cmp dword [ebp + 8], 0
je 0x43a513
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x43a513
cmp dword [eax], 0
je 0x43a513
test ebx, ebx
je 0x43a5c8
mov ecx, dword [ebp + 0xc]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x43a52d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x43a518
dec eax
push 0x4f16a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 8], 0
je 0x43a548
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
jmp 0x43a54a
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push ebx
lea edx, [eax + esi]
neg esi
add esi, 0x4000
push esi
push edx
push ecx
call fcn.004ab7b0
add esp, 0x10
push 0x4f16a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov dword [0x4ef464], 0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push 0x4cdc60
push esi
call fcn.00469c50
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x43a496
xor ebx, ebx
jmp 0x43a4f7
lea eax, [ebp - 0x14]
push eax
push 0x4cdc60
push esi
call fcn.00469c50
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x43a5a4
jmp 0x43a4f2
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
cmp dword [edx], 0
je 0x43a513
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
movsx edx, byte [eax]
test edx, edx
je 0x43a5f4
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x43a5e9
mov dword [ebp - 0x1c], edx
mov edx, str._nHex_Dump_Of_Exception_Record_Context_Information:_n_n
mov edi, dword [ebp - 0x1c]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x43a606
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x43a627
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x43a61c
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test al, 1
je 0x43a6aa
mov eax, dword [ebp - 0x18]
push dword [eax + 0xb4]
push str.__EBP:
push dword [eax + 0xc4]
push str.__ESP:
push dword [eax + 0xc8]
push str.__SS:
push dword [eax + 0xb8]
push str.__EIP:
push dword [eax + 0xbc]
push str.CS:
push dword [eax + 0xc0]
push str.EFlags:
push str.Exception_Context:__Processor_Control_and_Status_Registers.
push str._s_n_n_s_8.8lX_n_s_8.8lX_s_8.8lX_s_8.8lX_s_8.8lX_s_8.8lX_n_n
push dword [ebp - 0x1c]
call fcn.00462170
add esp, 0x3c
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x43a9ad
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x43a69a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax]
test al, 2
je 0x43a728
mov eax, dword [ebp - 0x18]
push dword [eax + 0x9c]
push str.__EDI:
push dword [eax + 0xa0]
push str.ESI:
push dword [eax + 0xa8]
push str.__EDX:
push dword [eax + 0xac]
push str.__ECX:
push dword [eax + 0xa4]
push str.__EBX:
push dword [eax + 0xb0]
push str.EAX:
push str.Exception_Context:__Processor_Integer_Registers.
push str._s_n_n_s_8.8lX_s_8.8lX_s_8.8lX_s_8.8lX_n_s_8.8lX_s_8.8lX_n_n
push dword [ebp - 0x1c]
call fcn.00462170
add esp, 0x3c
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x43a9a3
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x43a718
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax]
test al, 4
je 0x43a790
mov eax, dword [ebp - 0x18]
push dword [eax + 0x8c]
push str.__GS:
push dword [eax + 0x90]
push str.__FS:
push dword [eax + 0x94]
push str.__ES:
push dword [eax + 0x98]
push str.DS:
push str.Exception_Context:__Processor_Segment_Registers.
push str._s_n_n_s_8.8lX_s_8.8lX_s_8.8lX_s_8.8lX_n_n
push dword [ebp - 0x1c]
call fcn.00462170
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x43a9b7
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x43a780
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax]
test al, 8
je 0x43a982
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
mov dword [esp + 4], str._s_n_n_s_8.8lX_s_8.8lX_s_8.8lX_n_s_8.8lX_s_8.8lX_s_8.8lX_n_s_8.8lX_s_8.8lX_n_n_s_n_n_s_4.4hX_8.8lX_8.8lX_s_4.4hX_8.8lX_8.8lX_n_s_4.4hX_8.8lX_8.8lX_s_4.4hX_8.8lX_8.8lX_n_s_4.4hX_8.8lX_8.8lX_s_4.4hX_8.8lX_8.8lX_n_s_4.4hX_8.8lX_8.8lX_s_4.4hX_8.8lX_8.8lX_n
mov dword [esp + 8], str.Exception_Context:__Floating_Point_Control_and_Status_Registers.
mov dword [esp + 0xc], str.ControlWord:
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1c]
mov esi, dword [eax + 0x28]
mov edi, dword [eax + 0x30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], str.__ErrorOffset:
mov edx, dword [eax + 0x20]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], str.__DataOffset:
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], str.StatusWord:
mov esi, dword [eax + 0x34]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], str.__ErrorSelector:
mov edi, dword [eax + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], str.__DataSelector:
mov edx, dword [eax + 0x88]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], str.TagWord:
mov dword [esp + 0x40], edi
movsx ecx, word [eax + 0x40]
mov dword [esp + 0x44], str.__Cr0NpxState:
mov dword [esp + 0x48], edx
mov esi, dword [eax + 0x3c]
mov edi, dword [eax + 0x38]
mov dword [esp + 0x4c], str.Exception_Context:__Floating_Point_RegisterArea.
mov dword [esp + 0x50], str.RegisterArea_00_:
mov dword [esp + 0x54], ecx
movsx edx, word [eax + 0x4a]
mov ecx, dword [eax + 0x46]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov esi, dword [eax + 0x42]
mov dword [esp + 0x60], str.__RegisterArea_10_:
mov dword [esp + 0x64], edx
movsx edi, word [eax + 0x54]
mov edx, dword [eax + 0x50]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], str.RegisterArea_20_:
movsx esi, word [eax + 0x5e]
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edx
mov edi, dword [eax + 0x5a]
mov edx, dword [eax + 0x56]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], str.__RegisterArea_30_:
mov dword [esp + 0x84], esi
movsx ecx, word [eax + 0x68]
mov esi, dword [eax + 0x64]
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edx
mov edi, dword [eax + 0x60]
mov dword [esp + 0x90], str.RegisterArea_40_:
mov dword [esp + 0x94], ecx
movsx edx, word [eax + 0x72]
mov ecx, dword [eax + 0x6e]
mov dword [esp + 0x98], esi
mov esi, dword [eax + 0x6a]
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], str.__RegisterArea_50_:
movsx edi, word [eax + 0x7c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 0x78]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], str.RegisterArea_60_:
mov dword [esp + 0xb4], edi
movsx esi, word [eax + 0x86]
mov edi, dword [eax + 0x82]
mov eax, dword [eax + 0x7e]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], str.__RegisterArea_70_:
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], eax
call fcn.00462170
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x43a982
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x43a977
mov dword [ebp - 0x1c], edx
mov edx, 0x4cf0d8
mov edi, dword [ebp - 0x1c]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x43a994
jmp 0x43a513
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
jmp 0x43a728
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
jmp 0x43a6aa
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
jmp 0x43a790
xor eax, eax
mov esp, ebp
pop ebp
ret