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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x50bcdc]
cmp eax, 1
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
je 0x431ee1
push str.TBK_ENABLE_VERBOSE_STACK_TRACE
mov dword [0x50bcdc], 1
call fcn.00473f30
add esp, 4
mov esi, eax
test esi, esi
je 0x4319b6
movsx eax, byte [esi]
test eax, eax
je 0x4319b6
push eax
call fcn.0047ccd0
movsx eax, al
add esp, 4
cmp eax, 0x74
je 0x431ac4
cmp eax, 0x79
je 0x431ac4
mov dword [ebp - 0x10], 0
mov ebx, esi
jmp 0x43199e
inc ebx
movsx eax, byte [ebx]
test eax, eax
je 0x431aa8
push eax
call fcn.0047cfd0
add esp, 4
test eax, eax
jne 0x43199d
push str.FOR_ENABLE_VERBOSE_STACK_TRACE
call fcn.00473f30
add esp, 4
mov esi, eax
test esi, esi
je 0x431a12
movsx eax, byte [esi]
test eax, eax
je 0x431a12
push eax
call fcn.0047ccd0
movsx eax, al
add esp, 4
cmp eax, 0x74
je 0x431ac4
cmp eax, 0x79
je 0x431ac4
mov dword [ebp - 0x14], 0
mov ebx, esi
jmp 0x4319fa
inc ebx
movsx eax, byte [ebx]
test eax, eax
je 0x431acb
push eax
call fcn.0047cfd0
add esp, 4
test eax, eax
jne 0x4319f9
mov ebx, 1
cmp dword [ebp + 8], 0
je 0x431a33
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x431a33
cmp dword [eax], 0
je 0x431a33
test ebx, ebx
je 0x431ae8
mov ecx, dword [ebp + 0xc]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x431a4d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x431a38
dec eax
push 0x5119a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 8], 0
je 0x431a68
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
jmp 0x431a6a
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.004c9a70
add esp, 0x10
push 0x5119a0
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 [0x50bcdc], 0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push 0x4e5780
push esi
call fcn.0047d680
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x4319b6
xor ebx, ebx
jmp 0x431a17
lea eax, [ebp - 0x14]
push eax
push 0x4e5780
push esi
call fcn.0047d680
add esp, 0xc
cmp dword [ebp - 0x14], 0
jne 0x431ac4
jmp 0x431a12
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
cmp dword [edx], 0
je 0x431a33
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
movsx edx, byte [eax]
test edx, edx
je 0x431b14
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x431b09
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 0x431b26
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x431b47
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x431b3c
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
test al, 1
je 0x431bca
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.00473880
add esp, 0x3c
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x431ecd
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x431bba
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax]
test al, 2
je 0x431c48
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.00473880
add esp, 0x3c
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x431ec3
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x431c38
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax]
test al, 4
je 0x431cb0
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.00473880
add esp, 0x2c
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x431ed7
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x431ca0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax]
test al, 8
je 0x431ea2
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.00473880
mov eax, dword [ebp - 0x1c]
movsx edx, byte [eax]
test edx, edx
je 0x431ea2
mov edx, eax
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x431e97
mov dword [ebp - 0x1c], edx
mov edx, 0x4e5cd8
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 0x431eb4
jmp 0x431a33
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
jmp 0x431c48
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
jmp 0x431bca
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
jmp 0x431cb0
xor eax, eax
mov esp, ebp
pop ebp
ret