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

Disassembly:
push 0xffffffffffffffff
push 0x5cad1e
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea ecx, [esi + 0x48]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
call fcn.00450f10
push esi
call fcn.004344d0
add esp, 4
test al, al
je 0x45282b
cmp dword [esi + 0x14], 8
jb 0x45233a
mov eax, dword [esi]
jmp 0x45233c
mov eax, esi
push eax
call fcn.005878b7
add esp, 4
test eax, eax
je 0x45282b
xor al, al
nop
cmp al, bl
jne 0x4523af
lea eax, [esp + 0x124]
push 0x5fcf00
push eax
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 1
mov dword [esp + 0x270], ebx
cmp dword [0x695aa8], ebx
je 0x452393
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x452393
call fcn.004443b0
jmp 0x452398
mov al, byte [0x68a580]
cmp al, bl
je 0x4523af
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x4523b3
mov byte [esp + 0x17], bl
or ebp, 0xffffffff
test byte [esp + 0x18], 1
mov dword [esp + 0x270], ebp
je 0x4523f3
mov ecx, dword [esp + 0x140]
and dword [esp + 0x18], 0xfffffffe
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x138], 8
jb 0x4523f3
mov edx, dword [esp + 0x124]
push edx
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x452824
push str.cant_remove_file__s
lea ecx, [esp + 0x128]
call fcn.00402bb0
mov edi, 7
xor eax, eax
mov dword [esp + 0x270], 1
mov dword [esp + 0xf0], edi
mov dword [esp + 0xec], ebx
mov word [esp + 0xdc], ax
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
xor ecx, ecx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], cx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov byte [esp + 0x270], 3
call fcn.00425e70
cmp eax, ebx
je 0x45249e
lea edx, [esp + 0xdc]
push edx
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0x12c]
push edx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x4524ae
lea eax, [esp + 0x124]
push eax
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x80], eax
mov byte [esp + 0x270], 4
call fcn.00420510
mov dword [esp + 0x84], eax
mov byte [esp + 0x270], 5
call fcn.00420510
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], ebx
push str.wx.sys_error
lea ecx, [esp + 0x244]
mov byte [esp + 0x274], 6
call fcn.00402bb0
mov edx, dword [esp + 0x20]
push ebp
xor ecx, ecx
push ebx
mov word [esp + 0x50], cx
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x27c], 7
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
call fcn.00402610
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x270], 8
mov dword [esp + 0x1a0], 1
mov dword [esp + 0x1a8], str....._srccommon_file.cpp
mov dword [esp + 0x1b0], str.wxTempFile::Commit
mov dword [esp + 0x1ac], 0x254
mov dword [esp + 0x1b4], 0x5fcf00
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1c0], ebx
mov dword [esp + 0x1c4], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0x1c8], eax
xor eax, eax
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1e4], edi
mov dword [esp + 0x1e0], ebx
mov word [esp + 0x1d0], ax
mov dword [esp + 0x1ec], ebx
mov dword [esp + 0x1f0], ebx
mov byte [esp + 0x270], 9
call sub.KERNEL32.dll_GetLastError
push ebp
push ebx
lea ecx, [esp + 0x248]
push ecx
lea ecx, [esp + 0x1dc]
mov esi, eax
call fcn.00402610
mov ecx, dword [esp + 0x1cc]
cmp ecx, ebx
jne 0x452634
push 0x20
call fcn.00584773
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x270], 0xa
cmp eax, ebx
je 0x452621
mov ecx, eax
call fcn.004287b0
jmp 0x452623
xor eax, eax
mov ecx, eax
mov byte [esp + 0x270], 9
mov dword [esp + 0x1cc], ecx
lea edx, [esp + 0x240]
push edx
call fcn.004775a0
mov dword [eax], esi
lea eax, [esp + 0x48]
lea ecx, [esp + 0x80]
mov byte [esp + 0x270], 0xc
mov dword [esp + 0x1c], eax
call fcn.0041de00
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041d2a0
push eax
lea ecx, [esp + 0x1a4]
push esi
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x70]
push edx
call fcn.005844d1
mov esi, 8
add esp, 0x10
cmp dword [esp + 0x5c], esi
jb 0x45269e
mov eax, dword [esp + 0x48]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x1ec]
xor ecx, ecx
push edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
mov byte [esp + 0x274], 7
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x1e4], esi
jb 0x4526de
mov eax, dword [esp + 0x1d0]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0x1d0], cx
mov ecx, dword [esp + 0x1cc]
mov dword [esp + 0x1e4], edi
mov dword [esp + 0x1e0], ebx
mov esi, ecx
cmp ecx, ebx
je 0x452711
call fcn.0040c030
push esi
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x25c]
push edx
call fcn.005844d1
mov esi, 8
add esp, 4
cmp dword [esp + 0x254], esi
jb 0x45273f
mov eax, dword [esp + 0x240]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0x240], cx
lea ecx, [esp + 0x80]
mov dword [esp + 0x254], edi
mov dword [esp + 0x250], ebx
mov byte [esp + 0x270], 3
call fcn.004020c0
mov edx, dword [esp + 0xb0]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xa8], esi
jb 0x452794
mov eax, dword [esp + 0x94]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0xf8]
xor ecx, ecx
push edx
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov word [esp + 0x98], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xf0], esi
jb 0x4527d5
mov eax, dword [esp + 0xdc]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x140]
xor ecx, ecx
push edx
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], cx
mov dword [esp + 0x274], ebp
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x138], esi
jb 0x45281d
mov eax, dword [esp + 0x124]
push eax
call fcn.00584768
add esp, 4
mov al, 1
jmp 0x452350
xor al, al
jmp 0x452d56
push 1
push esi
add esi, 0x24
push esi
call fcn.00437840
add esp, 0xc
test al, al
jne 0x452d54
cmp al, bl
jne 0x4528a5
lea ecx, [esp + 0x124]
push 0x5fcf00
push ecx
call fcn.00423280
add esp, 8
mov esi, eax
or dword [esp + 0x18], 2
mov dword [esp + 0x270], 0xd
cmp dword [0x695aa8], ebx
je 0x452889
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x695aa8]
je 0x452889
call fcn.004443b0
jmp 0x45288e
mov al, byte [0x68a580]
cmp al, bl
je 0x4528a5
push esi
call fcn.00445fa0
add esp, 4
mov byte [esp + 0x17], 1
cmp eax, 1
jae 0x4528a9
mov byte [esp + 0x17], bl
test byte [esp + 0x18], 2
mov dword [esp + 0x270], 0xffffffff
je 0x4528ea
mov edx, dword [esp + 0x140]
and dword [esp + 0x18], 0xfffffffd
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x138], 8
jb 0x4528ea
mov eax, dword [esp + 0x124]
push eax
call fcn.00584768
add esp, 4
cmp byte [esp + 0x17], bl
je 0x452824
push str.cant_commit_changes_to_file__s
lea ecx, [esp + 0x220]
call fcn.00402bb0
mov ebp, 7
xor ecx, ecx
mov dword [esp + 0x270], 0xe
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], cx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
xor edx, edx
mov dword [esp + 0x114], ebp
mov dword [esp + 0x110], ebx
mov word [esp + 0x100], dx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x120], ebx
mov byte [esp + 0x270], 0x10
call fcn.00425e70
cmp eax, ebx
je 0x452995
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0x104]
push edx
lea ecx, [esp + 0x224]
push ecx
mov ecx, eax
call fcn.00429320
cmp eax, ebx
jne 0x4529a5
lea edx, [esp + 0x21c]
push edx
call fcn.004292f0
add esp, 4
mov esi, eax
call fcn.00420510
mov dword [esp + 0x6c], eax
mov byte [esp + 0x270], 0x11
call fcn.00420510
mov dword [esp + 0x70], eax
mov byte [esp + 0x270], 0x12
call fcn.00420510
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
push str.wx.sys_error
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x274], 0x13
call fcn.00402bb0
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
xor eax, eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x27c], 0x14
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], ax
call fcn.00402610
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x270], 0x15
mov dword [esp + 0x148], 1
mov dword [esp + 0x150], str....._srccommon_file.cpp
mov dword [esp + 0x158], str.wxTempFile::Commit
mov dword [esp + 0x154], 0x259
mov dword [esp + 0x15c], 0x5fcf00
mov dword [esp + 0x160], ebx
mov dword [esp + 0x164], ebx
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
call sub.KERNEL32.dll_GetCurrentThreadId
xor edx, edx
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], ebx
mov dword [esp + 0x18c], ebp
mov dword [esp + 0x188], ebx
mov word [esp + 0x178], dx
mov dword [esp + 0x194], ebx
mov dword [esp + 0x198], ebx
mov byte [esp + 0x270], 0x16
call sub.KERNEL32.dll_GetLastError
push 0xffffffffffffffff
mov edi, eax
push ebx
lea eax, [esp + 0x200]
push eax
lea ecx, [esp + 0x184]
call fcn.00402610
mov ecx, dword [esp + 0x174]
cmp ecx, ebx
jne 0x452b53
push 0x20
call fcn.00584773
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov byte [esp + 0x270], 0x17
cmp esi, ebx
je 0x452b42
push 0x64
call fcn.00447710
push 4
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
call fcn.00585c5e
mov dword [esi], eax
push 0x64
mov byte [esp + 0x280], 0x18
call fcn.00447710
push 4
push eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
call fcn.00585c5e
add esp, 0x18
mov dword [esi + 0x10], eax
mov ecx, esi
jmp 0x452b44
xor ecx, ecx
mov byte [esp + 0x270], 0x16
mov dword [esp + 0x174], ecx
lea edx, [esp + 0x1f8]
push edx
call fcn.004775a0
mov dword [eax], edi
lea eax, [esp + 0x24]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x270], 0x1a
mov dword [esp + 0x1c], eax
call fcn.0041de00
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0041d2a0
push eax
lea ecx, [esp + 0x14c]
push esi
push ecx
call fcn.0040b680
mov edx, dword [esp + 0x4c]
push edx
call fcn.005844d1
mov esi, 8
add esp, 0x10
cmp dword [esp + 0x38], esi
jb 0x452bba
mov eax, dword [esp + 0x24]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x194]
xor ecx, ecx
push edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], cx
mov byte [esp + 0x274], 0x14
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x18c], esi
jb 0x452bfa
mov eax, dword [esp + 0x178]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0x178], cx
mov ecx, dword [esp + 0x174]
mov dword [esp + 0x18c], ebp
mov dword [esp + 0x188], ebx
mov edi, ecx
cmp ecx, ebx
je 0x452c2d
call fcn.0040c030
push edi
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x214]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x20c], esi
jb 0x452c56
mov eax, dword [esp + 0x1f8]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov word [esp + 0x1f8], cx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20c], ebp
mov dword [esp + 0x208], ebx
mov byte [esp + 0x270], 0x10
call fcn.004020c0
mov edx, dword [esp + 0x11c]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x114], esi
jb 0x452ca8
mov eax, dword [esp + 0x100]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0xd4]
xor ecx, ecx
push edx
mov dword [esp + 0x118], ebp
mov dword [esp + 0x114], ebx
mov word [esp + 0x104], cx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0xcc], esi
jb 0x452ce9
mov eax, dword [esp + 0xb8]
push eax
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x238]
xor ecx, ecx
push edx
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], cx
mov dword [esp + 0x274], 0xffffffff
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x230], esi
jb 0x452d35
mov eax, dword [esp + 0x21c]
push eax
call fcn.00584768
add esp, 4
xor ecx, ecx
mov dword [esp + 0x230], ebp
mov dword [esp + 0x22c], ebx
mov word [esp + 0x21c], cx
mov al, 1
jmp 0x452842
mov al, 1
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00585b7b
add esp, 0x260
ret