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

Disassembly:
sub esp, 0x6c
push esi
mov esi, ecx
call fcn.0051c240
call sub.mfc90u.dll_AfxGetThread
test eax, eax
je 0x57c63c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x7c]
call eax
test eax, eax
je 0x57c63c
call sub.mfc90u.dll_AfxGetThread
test eax, eax
je 0x57c63c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x7c]
call eax
test eax, eax
je 0x57c63c
mov eax, dword [eax + 0x20]
jmp 0x57c63e
xor eax, eax
push ebx
push ebp
push edi
push str.STATUS
push eax
lea ecx, [esi + 0x134]
call fcn.00561310
call fcn.0055ef70
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0x2a
mov ecx, esi
mov edi, eax
lea ebx, [esi + 0x4f0]
call fcn.0051c180
push eax
push 0x226
push 0x2a
mov ecx, esi
call fcn.0051c180
push eax
push 5
mov ecx, esi
call fcn.0051c180
push eax
mov ecx, edi
call fcn.0055e780
push eax
mov ecx, ebx
call fcn.0055e590
call fcn.0055ef70
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xf
mov ecx, esi
mov edi, eax
lea ebx, [esi + 0x490]
call fcn.0051c180
push eax
push 0xcd
push 5
mov ecx, esi
call fcn.0051c180
push eax
push 0xf
mov ecx, esi
call fcn.0051c180
push eax
mov ecx, edi
call fcn.0055e780
push eax
mov ecx, ebx
call fcn.0055e590
call fcn.0055ef70
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xcd
push 5
mov ecx, esi
mov ebx, eax
lea edi, [esi + 0x470]
call fcn.0051c180
push eax
push 0xf
mov ecx, esi
call fcn.0051c180
push eax
mov ecx, ebx
call fcn.0055e780
push eax
push 0xf
mov ecx, esi
call fcn.0051c180
push eax
mov ecx, edi
call fcn.0055e590
push 0x1e
mov ecx, esi
call fcn.0051c180
push 0x1e
mov ecx, esi
mov dword [esi + 0x56c], eax
call fcn.0051c180
push 0x10
mov ecx, esi
mov dword [esi + 0x554], eax
call fcn.0051c180
mov dword [esi + 0x4c], eax
call fcn.0055ef70
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0x226
push 0xf
mov ecx, esi
mov ebp, eax
lea ebx, [esi + 0x530]
call fcn.0051c180
push eax
push 5
mov ecx, esi
call fcn.0051c180
push eax
mov ecx, ebp
call fcn.0055e780
push eax
push 0x29
mov ecx, esi
call fcn.0051c180
push eax
mov ecx, ebx
call fcn.0055e590
call fcn.0055ef70
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0x10
mov ecx, esi
mov dword [esp + 0x18], eax
lea ebp, [esi + 0x4b0]
call fcn.0051c180
push eax
push 0x33
push 0x10
mov ecx, esi
call fcn.0051c180
push eax
push 0x33
mov ecx, esi
call fcn.0051c180
mov ecx, dword [esp + 0x20]
push eax
call fcn.0055e780
push eax
mov ecx, ebp
call fcn.0055e590
mov dword [esi + 0x574], 0
call fcn.0055ef70
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0x226
push 0xf
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.0051c180
push eax
push 5
mov ecx, esi
call fcn.0051c180
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0055e780
push eax
push 0x29
mov ecx, esi
call fcn.0051c180
push eax
lea ecx, [esi + 0x4d0]
call fcn.0055e590
call fcn.0055ef70
push 0x46
push 5
mov ecx, esi
mov dword [esp + 0x18], eax
call fcn.0051c180
push eax
push 0xf
mov ecx, esi
call fcn.0051c180
mov ecx, dword [esp + 0x18]
push eax
call fcn.0055e780
mov dword [esi + 0x560], eax
call fcn.0055ef70
mov ecx, dword [eax + 0x58]
add eax, 0x50
cmp ecx, 0xffffffff
jne 0x57c882
mov eax, dword [eax + 4]
jmp 0x57c884
mov eax, ecx
mov dword [esi + 0x40c], eax
call fcn.0055ef70
push 0
mov ecx, eax
call fcn.0055e9f0
test eax, eax
je 0x57c8e4
push 0xf
mov ecx, esi
call fcn.0051c180
push eax
lea ecx, [esi + 0x490]
call fcn.0055eec0
push 0xf
mov ecx, esi
call fcn.0051c180
push eax
mov ecx, edi
call fcn.0055eec0
push 0xf
mov ecx, esi
call fcn.0051c180
push eax
mov ecx, ebx
call fcn.0055eec0
push 0xf
mov ecx, esi
call fcn.0051c180
push eax
mov ecx, ebp
call fcn.0055eec0
mov ecx, esi
call fcn.0051c140
dec eax
cmp eax, 4
ja case.default.0x57c8f5
jmp dword [eax*4 + 0x57cec8]
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xfadac4
push 0xf5be9e
mov ecx, edi
call fcn.0055e590
fld dword [0x69fb6c]
push ecx
fstp dword [esp]
push 0xe2a981
push 0xfeecdd
lea ecx, [esi + 0x490]
mov dword [esi + 0x554], 0x9c613b
call fcn.0055e590
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xe7b593
push 0xffefe3
mov ecx, ebx
mov dword [esi + 0x4c], 0xc9662a
call fcn.0055e590
fld dword [0x69fb6c]
push ecx
fstp dword [esp]
push 0x913500
push 0xf1a675
mov ecx, ebp
call fcn.0055e590
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xdca179
push 0xf6ddcb
lea ecx, [esi + 0x4f0]
call fcn.0055e590
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xe2a981
push 0xfeefe3
lea ecx, [esi + 0x4d0]
call fcn.0055e590
fld dword [0x697cf4]
mov ecx, dword [esi + 0x46c]
push ecx
fstp dword [esp]
mov dword [esi + 0x560], 0xd3d3d3
mov dword [ecx + 0x34], 0x361e16
push 0xac7a61
push 0xf2ece9
lea ecx, [esi + 0x28]
mov dword [esi + 0x56c], 0xf0c7a9
call fcn.0055e590
mov eax, 0x800000
mov dword [esi + 0x3f4], 0xfce1cb
mov dword [esi + 0x3dc], 0xfce7d8
mov dword [esi + 0x3e8], 0xf5be9e
mov dword [esi + 0x208], 0xae9990
mov dword [esi + 0x418], 0xf7d3bd
mov dword [esp + 0x48], 0x26
mov dword [esp + 0x4c], 0x27
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x54], 0x29
mov dword [esp + 0x58], 0x2b
mov dword [esp + 0x5c], 0x1f
mov dword [esp + 0x60], 0x20
mov dword [esp + 0x64], 0x32
mov dword [esp + 0x68], 0x25
mov dword [esp + 0x6c], 0x21
mov dword [esp + 0x70], 0x24
mov dword [esp + 0x74], 0x1e
mov dword [esp + 0x78], 0x2f
mov dword [esp + 0x14], 0x764127
mov dword [esp + 0x18], 0xcb8c6a
mov dword [esp + 0x1c], 0xd0966d
mov dword [esp + 0x20], 0xf6f6f6
mov dword [esp + 0x24], 0x962d00
mov dword [esp + 0x28], 0xc2eeff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x3e80fe
mov dword [esp + 0x3c], 0x6fc0ff
mov dword [esp + 0x40], 0xf9dbc4
mov dword [esp + 0x44], 0
lea edx, [esp + 0x14]
lea eax, [esp + 0x48]
jmp 0x57ce61
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xe4f1f2
push 0xa7d9d9
mov ecx, edi
call fcn.0055e590
fld dword [0x69fb68]
push ecx
fstp dword [esp]
push 0x91c6b7
push 0xdef7f4
lea ecx, [esi + 0x490]
call fcn.0055e590
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0x9fcec2
mov edi, 0x588060
push 0xd5f0ec
mov ecx, ebx
mov dword [esi + 0x554], edi
mov dword [esi + 0x4c], 0x5e8674
call fcn.0055e590
fld dword [0x69fb68]
push ecx
fstp dword [esp]
push 0x6b7760
push 0x8cc2b0
mov ecx, ebp
call fcn.0055e590
fld dword [0x69fb68]
push ecx
fstp dword [esp]
push 0x78b4a4
push 0xd1e6e6
lea ecx, [esi + 0x4f0]
call fcn.0055e590
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0x93c6b8
push 0xd5f0ec
lea ecx, [esi + 0x4d0]
call fcn.0055e590
fld dword [0x697cf4]
mov ecx, dword [esi + 0x46c]
push ecx
fstp dword [esp]
mov dword [esi + 0x560], 0xd3d3d3
push 0x719083
mov dword [ecx + 0x34], 0x19221f
push 0xf0f4f3
lea ecx, [esi + 0x28]
call fcn.0055e590
mov dword [esi + 0x56c], 0x9fd4c5
mov dword [esi + 0x3f4], 0xb6e3d8
mov dword [esi + 0x3dc], 0xbfe7e2
mov dword [esi + 0x3e8], 0x8ac0ab
mov dword [esi + 0x208], 0x7ba097
mov dword [esi + 0x418], 0xbde3de
mov dword [esp + 0x48], 0x335e51
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], 0x7aae9f
mov dword [esp + 0x54], 0xeef4f4
mov dword [esp + 0x58], 0x5e8d75
mov eax, 0x385d3f
mov dword [esp + 0x74], 0xadded1
jmp 0x57cdc5
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xf7f3f3
push 0xe5d7d7
mov ecx, edi
call fcn.0055e590
fld dword [0x69fb6c]
push ecx
fstp dword [esp]
push 0xb79b9c
mov edi, 0x947c7c
push 0xfff9f9
lea ecx, [esi + 0x490]
mov dword [esi + 0x554], edi
call fcn.0055e590
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xcdb9ba
push 0xf1e7e9
mov ecx, ebx
mov dword [esi + 0x4c], 0x99797a
call fcn.0055e590
fld dword [0x69fb6c]
push ecx
fstp dword [esp]
push 0x927476
push 0xc8b2b3
mov ecx, ebp
call fcn.0055e590
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xa28385
push 0xe2d7d7
lea ecx, [esi + 0x4f0]
call fcn.0055e590
fld dword [0x697cf4]
push ecx
fstp dword [esp]
push 0xc5aeb0
push 0xf1e8e8
lea ecx, [esi + 0x4d0]
call fcn.0055e590
fld dword [0x697cf4]
mov ecx, dword [esi + 0x46c]
push ecx
fstp dword [esp]
mov dword [esi + 0x560], 0xdaeaec
push 0x99797a
mov dword [ecx + 0x34], 0x292024
push 0xf9f5f7
lea ecx, [esi + 0x28]
call fcn.0055e590
mov dword [esi + 0x56c], 0xd3c0c0
mov dword [esi + 0x3f4], 0xe7d3d6
mov dword [esi + 0x3dc], 0xeadfdf
mov dword [esi + 0x3e8], 0xc3b0b1
mov dword [esi + 0x208], 0xb39a9b
mov dword [esi + 0x418], 0xe7d7d6
mov dword [esp + 0x48], 0x755454
mov dword [esp + 0x4c], 0x8f6d6e
mov dword [esp + 0x50], 0xbea7a8
mov dword [esp + 0x54], 0xfffafd
mov dword [esp + 0x58], edi
mov eax, 0x6f4b4b
mov dword [esp + 0x74], 0xe4dadb
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x28], 0x1f
mov dword [esp + 0x24], 0x2b
mov dword [esp + 0x20], 0x29
mov dword [esp + 0x1c], 0x28
mov dword [esp + 0x18], 0x27
mov dword [esp + 0x14], 0x26
lea eax, [esp + 0x14]
lea edx, [esp + 0x48]
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 0x6fc0ff
mov dword [esp + 0x6c], 0x3e80fe
mov dword [esp + 0x5c], 0xc2eeff
mov dword [esp + 0x44], 0x2f
mov dword [esp + 0x40], 0x1e
mov dword [esp + 0x3c], 0x24
mov dword [esp + 0x38], 0x21
mov dword [esp + 0x34], 0x32
mov dword [esp + 0x30], 0x25
mov dword [esp + 0x2c], 0x20
push edx
push eax
push 0xd
mov ecx, esi
call fcn.0051c1b0
mov dword [esi + 0x574], 1
cmp dword [esi + 0x574], 0
pop edi
pop ebp
pop ebx
je 0x57ceaa
mov eax, 0x8d8d8d
mov dword [esi + 0x430], eax
mov dword [esi + 0x448], eax
mov dword [esi + 0x31c], eax
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
jne 0x57cea4
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x454], eax
lea eax, [esi + 0x490]
push eax
lea ecx, [esi + 0x510]
call fcn.0055e5b0
mov ecx, esi
pop esi
add esp, 0x6c
jmp fcn.0057ada0