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

Disassembly:
push 0xffffffffffffffff
push 0x5e199f
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1f4]
mov esi, dword [esp + 0x1f0]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebx
call fcn.00423b60
mov eax, dword [edi + 4]
mov al, byte [eax + 0x24]
and al, 1
mov byte [esp + 0x17], al
cmp ebp, 0x32
jne 0x53b9b0
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
test al, al
jne 0x53b58f
cmp byte [esp + 0x17], bl
je 0x53b588
lea ebp, [ebx + 8]
lea edi, [ebx + 7]
cmp al, bl
jne 0x53b2b3
lea ecx, [esp + 0xe4]
push 0x5fcf00
push ecx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov dword [esp + 0x1e8], ebx
cmp dword [0x695aa8], ebx
je 0x53b297
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x53b297
call fcn.004443b0
jmp 0x53b29c
mov al, byte [0x68a580]
cmp al, bl
je 0x53b2b3
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x53b2b7
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x1e8], 0xffffffff
je 0x53b2f7
mov edx, dword [esp + 0x100]
and dword [esp + 0x18], 0xfffffffe
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf8], ebp
jb 0x53b2f7
mov eax, dword [esp + 0xe4]
push eax
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x53b588
push str.Cant_automatically_determine_the_image_format_for_non_seekable_input.
lea ecx, [esp + 0xe8]
call fcn.00402bb0
xor ecx, ecx
mov dword [esp + 0x1e8], 1
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
xor edx, edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], dx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x1e8], 3
call fcn.00425e70
cmp eax, ebx
je 0x53b37f
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0xec]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x53b38f
lea edx, [esp + 0xe4]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x24], eax
mov byte [esp + 0x1e8], 4
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x1e8], 5
call fcn.00420510
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x1e8], 6
mov dword [esp + 0x108], 1
mov dword [esp + 0x110], str....._srccommonimage.cpp
mov dword [esp + 0x118], str.wxImage::LoadFile
mov dword [esp + 0x114], 0xb74
mov dword [esp + 0x11c], 0x5fcf00
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x130], eax
xor eax, eax
mov dword [esp + 0x134], ebx
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], ebx
mov word [esp + 0x138], ax
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e8], 7
call fcn.0041de00
push eax
lea ecx, [esp + 0x10c]
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x15c]
push edx
mov byte [esp + 0x1f4], 6
call fcn.005844d1
add esp, 0xc
cmp dword [esp + 0x14c], ebp
jb 0x53b4a8
mov eax, dword [esp + 0x138]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0x138], cx
mov ecx, dword [esp + 0x134]
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], ebx
mov esi, ecx
cmp ecx, ebx
je 0x53b4db
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e8], 3
call fcn.004020c0
mov edx, dword [esp + 0x80]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x78], ebp
jb 0x53b50f
mov eax, dword [esp + 0x64]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x54]
xor ecx, ecx
push edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x4c], ebp
jb 0x53b53e
mov eax, dword [esp + 0x38]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x100]
xor ecx, ecx
push edx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
mov dword [esp + 0x1ec], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf8], ebp
jb 0x53b581
mov eax, dword [esp + 0xe4]
push eax
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x53b254
xor al, al
jmp 0x53c050
mov eax, dword [0x69f590]
mov dword [esp + 0x5c], eax
cmp eax, ebx
je 0x53b61d
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 8]
mov eax, dword [esi]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
test al, al
je 0x53b60e
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
mov ebp, edx
mov edi, eax
and eax, ebp
cmp eax, 0xffffffff
je 0x53b60e
mov ecx, dword [esp + 0x20]
push esi
call fcn.00534a40
mov edx, dword [esi]
push ebx
push ebp
mov byte [esp + 0x27], al
mov eax, dword [edx + 0x3c]
push edi
mov ecx, esi
call eax
and eax, edx
cmp eax, 0xffffffff
je 0x53b60e
cmp byte [esp + 0x1f], bl
je 0x53b60e
mov ecx, dword [esp + 0x1f8]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x64]
push esi
push edx
call fcn.00539e40
test al, al
jne 0x53b674
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x5c], eax
cmp eax, ebx
jne 0x53b5a0
cmp byte [esp + 0x17], bl
je 0x53b588
mov edi, 8
xor al, al
lea ebp, [edi - 1]
cmp al, bl
jne 0x53b697
lea ecx, [esp + 0xe4]
push 0x5fcf00
push ecx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 2
mov dword [esp + 0x1e8], edi
cmp dword [0x695aa8], ebx
je 0x53b67b
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x53b67b
call fcn.004443b0
jmp 0x53b680
mov al, 1
jmp 0x53c050
mov al, byte [0x68a580]
cmp al, bl
je 0x53b697
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 2
jae 0x53b69b
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 2
mov dword [esp + 0x1e8], 0xffffffff
je 0x53b6db
mov edx, dword [esp + 0x100]
and dword [esp + 0x18], 0xfffffffd
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf8], edi
jb 0x53b6db
mov eax, dword [esp + 0xe4]
push eax
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x53b588
push str.Unknown_image_data_format.
lea ecx, [esp + 0xe8]
call fcn.00402bb0
xor ecx, ecx
mov dword [esp + 0x1e8], 9
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], cx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
xor edx, edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], dx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x1e8], 0xb
call fcn.00425e70
cmp eax, ebx
je 0x53b763
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0xec]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x53b773
lea edx, [esp + 0xe4]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x24], eax
mov byte [esp + 0x1e8], 0xc
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x1e8], 0xd
call fcn.00420510
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x1e8], 0xe
mov dword [esp + 0x108], 2
mov dword [esp + 0x110], str....._srccommonimage.cpp
mov dword [esp + 0x118], str.wxImage::LoadFile
mov dword [esp + 0x114], 0xb86
mov dword [esp + 0x11c], 0x5fcf00
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x130], eax
xor eax, eax
mov dword [esp + 0x134], ebx
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x148], ebx
mov word [esp + 0x138], ax
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e8], 0xf
call fcn.0041de00
push eax
lea ecx, [esp + 0x10c]
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x15c]
push edx
call fcn.005844d1
add esp, 0xc
cmp dword [esp + 0x14c], edi
jb 0x53b884
mov eax, dword [esp + 0x138]
push eax
call fcn.00584768
add esp, 4
mov esi, dword [esp + 0x134]
xor ecx, ecx
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x148], ebx
mov word [esp + 0x138], cx
mov dword [esp + 0x60], esi
cmp esi, ebx
je 0x53b903
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
push 0x40b5f0
push edx
push eax
mov byte [esp + 0x1f4], 0x10
call fcn.00447740
mov edi, dword [esi + 0x10]
push edi
mov dword [esi + 0x18], ebx
call fcn.005844d1
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push 0x475ea0
push ecx
push edx
mov byte [esp + 0x204], 0xe
call fcn.00447740
mov eax, dword [esi]
push eax
mov dword [esi + 8], ebx
call fcn.005844d1
push esi
call fcn.00584768
add esp, 0x24
mov edi, 8
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e8], 0xb
call fcn.004020c0
mov eax, dword [esp + 0x54]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x4c], edi
jb 0x53b934
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x80]
xor edx, edx
push eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x78], edi
jb 0x53b966
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x100]
xor edx, edx
push eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], dx
mov dword [esp + 0x1ec], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf8], edi
jb 0x53b9a9
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x53b631
mov eax, dword [0x69f590]
cmp eax, ebx
je 0x53b9da
lea esp, [esp]
mov ebp, dword [eax + 8]
mov edx, dword [esp + 0x20]
cmp dword [ebp + 0x88], edx
je 0x53bd2d
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x53b9c0
cmp byte [esp + 0x17], bl
je 0x53b588
mov ebp, 8
xor al, al
lea edi, [ebp - 1]
mov edi, edi
cmp al, bl
jne 0x53ba53
lea eax, [esp + 0xe4]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 4
mov dword [esp + 0x1e8], 0x11
cmp dword [0x695aa8], ebx
je 0x53ba37
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x53ba37
call fcn.004443b0
jmp 0x53ba3c
mov al, byte [0x68a580]
cmp al, bl
je 0x53ba53
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 2
jae 0x53ba57
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 4
mov dword [esp + 0x1e8], 0xffffffff
je 0x53ba97
mov ecx, dword [esp + 0x100]
and dword [esp + 0x18], 0xfffffffb
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf8], ebp
jb 0x53ba97
mov edx, dword [esp + 0xe4]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x53b588
push str.No_image_handler_for_type__d_defined.
lea ecx, [esp + 0xe8]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0x1e8], 0x12
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], ax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
xor ecx, ecx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], cx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x1e8], 0x14
call fcn.00425e70
cmp eax, ebx
je 0x53bb1f
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xec]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x53bb2f
lea eax, [esp + 0xe4]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x24], eax
mov byte [esp + 0x1e8], 0x15
call fcn.00420510
mov dword [esp + 0x28], eax
mov byte [esp + 0x1e8], 0x16
call fcn.00420510
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x1e8], 0x17
mov dword [esp + 0x108], 2
mov dword [esp + 0x110], str....._srccommonimage.cpp
mov dword [esp + 0x118], str.wxImage::LoadFile
mov dword [esp + 0x114], 0xb92
mov dword [esp + 0x11c], 0x5fcf00
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor ecx, ecx
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], ebx
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], ebx
mov word [esp + 0x138], cx
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ec], 0x18
call fcn.0041de00
push eax
lea eax, [esp + 0x110]
push eax
call fcn.0040b680
mov ecx, dword [esp + 0x160]
push ecx
mov byte [esp + 0x1f8], 0x17
call fcn.005844d1
add esp, 0x10
cmp dword [esp + 0x14c], ebp
jb 0x53bc4d
mov edx, dword [esp + 0x138]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x134]
xor eax, eax
mov dword [esp + 0x14c], edi
mov dword [esp + 0x148], ebx
mov word [esp + 0x138], ax
mov esi, ecx
cmp ecx, ebx
je 0x53bc80
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e8], 0x14
call fcn.004020c0
mov ecx, dword [esp + 0x54]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x4c], ebp
jb 0x53bcb1
mov edx, dword [esp + 0x38]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x80]
xor eax, eax
push ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x78], ebp
jb 0x53bce3
mov edx, dword [esp + 0x64]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x100]
xor eax, eax
push ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], ax
mov dword [esp + 0x1ec], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf8], ebp
jb 0x53bd26
mov edx, dword [esp + 0xe4]
push edx
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x53b9f0
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
test al, al
je 0x53c03f
push esi
mov ecx, ebp
call fcn.005384e0
test al, al
jne 0x53c03f
cmp byte [esp + 0x17], bl
je 0x53b588
mov edi, 8
lea esi, [edi - 1]
cmp al, bl
jne 0x53bd99
lea eax, [esp + 0xe4]
push 0x5fcf00
push eax
call fcn.00423280
or dword [esp + 0x20], edi
push eax
push 1
mov dword [esp + 0x1f8], 0x19
call fcn.00409f60
add esp, 0x10
mov byte [esp + 0x17], 1
test al, al
jne 0x53bd9d
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 8
mov dword [esp + 0x1e8], 0xffffffff
je 0x53bddd
mov ecx, dword [esp + 0x100]
and dword [esp + 0x18], 0xfffffff7
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf8], edi
jb 0x53bddd
mov edx, dword [esp + 0xe4]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x53b588
push str.This_is_not_a__s.
lea ecx, [esp + 0x164]
call fcn.00402bb0
xor eax, eax
mov dword [esp + 0x1e8], 0x1a
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], ax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
xor ecx, ecx
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], cx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov byte [esp + 0x1e8], 0x1c
call fcn.00425e70
cmp eax, ebx
je 0x53be83
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x168]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x53be93
lea eax, [esp + 0x160]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x88], eax
mov byte [esp + 0x1e8], 0x1d
call fcn.00420510
mov dword [esp + 0x8c], eax
mov byte [esp + 0x1e8], 0x1e
call fcn.00420510
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], ebx
sub esp, 0x24
lea edx, [ebp + 8]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
mov byte [esp + 0x210], 0x1f
call fcn.00402b70
push 0x5fcf00
push str.wxImage::LoadFile
push 0xb9b
push str....._srccommonimage.cpp
push 1
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x220], 0x20
call fcn.0040e0e0
mov byte [esp + 0x20c], 0x21
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
mov byte [esp + 0x210], 0x22
call fcn.00428340
lea ecx, [esp + 0x184]
mov byte [esp + 0x1e8], 0x1f
call fcn.0040e140
lea ecx, [esp + 0x88]
mov byte [esp + 0x1e8], 0x1c
call fcn.004020c0
mov edx, dword [esp + 0xdc]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xd4], edi
jb 0x53bf8e
mov eax, dword [esp + 0xc0]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0xb8]
xor ecx, ecx
mov esi, 7
push edx
mov dword [esp + 0xd8], esi
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xb0], edi
jb 0x53bfd4
mov eax, dword [esp + 0x9c]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x17c]
xor ecx, ecx
push edx
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov word [esp + 0xa0], cx
mov dword [esp + 0x1ec], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x174], edi
jb 0x53c020
mov eax, dword [esp + 0x160]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov dword [esp + 0x174], esi
mov dword [esp + 0x170], ebx
mov word [esp + 0x160], cx
mov al, 1
jmp 0x53bd60
mov edx, dword [esp + 0x1f8]
push edx
push esi
push ebp
mov ecx, edi
call fcn.00539e40
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.00585b7b
add esp, 0x1d8
ret 0xc