Function at 0x10037090
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100b8e23
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x100de3a4]
xor eax, esp
mov dword [esp + 0x478], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100de3a4]
xor eax, esp
push eax
lea eax, [esp + 0x490]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4a0]
mov eax, dword [esp + 0x4a8]
mov ecx, dword [esp + 0x4ac]
xor edi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
cmp dword [0x100df910], edi
jne 0x10037148
push 0xc
call fcn.1007aeb6
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x498], edi
cmp esi, edi
je 0x10037135
mov ecx, esi
call fcn.10035010
mov dword [esi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], edi
jmp 0x10037137
xor esi, esi
mov dword [esp + 0x498], 0xffffffff
mov dword [0x100df910], esi
mov eax, ebp
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10037160
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.10011860
mov ecx, dword [0x100df910]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x49c], 1
call fcn.10036ef0
mov esi, dword [eax]
mov ebx, 0x10
mov dword [esp + 0x498], 0xffffffff
cmp dword [esp + 0x3c], ebx
jb 0x100371b4
mov eax, dword [esp + 0x28]
push eax
call fcn.1007af72
add esp, 4
cmp esi, edi
jne 0x100374de
push 4
call fcn.1007aeb6
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x498], 2
cmp eax, edi
je 0x100371e6
mov ecx, eax
call fcn.10069d30
mov dword [esp + 0x14], eax
jmp 0x100371ea
mov dword [esp + 0x14], edi
mov esi, 0xf
mov dword [esp + 0x88], esi
mov dword [esp + 0x84], edi
mov byte [esp + 0x74], 0
cmp byte [esp + 0x4a4], 0
mov dword [esp + 0x498], 3
je 0x100372b7
mov eax, ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10037230
sub eax, ecx
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.10011860
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov byte [esp + 0x4a8], 4
call fcn.10016490
add esp, 0x10
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4a4], 5
call fcn.10011780
cmp dword [esp + 0x58], ebx
jb 0x10037290
mov edx, dword [esp + 0x44]
push edx
call fcn.1007af72
add esp, 4
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
mov byte [esp + 0x498], 3
cmp dword [esp + 0x3c], ebx
jb 0x10037319
mov eax, dword [esp + 0x28]
push eax
call fcn.1007af72
jmp 0x10037316
mov ecx, dword [0x100e2f20]
push ecx
mov byte [esp + 0x90], 0
call fcn.1005a6f0
mov edx, dword [str.__AMT_RESOURCE__]
push edx
push ebp
mov esi, eax
push 0x400
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.1005c7e0
lea eax, [esp + 0xa4]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100372f5
sub eax, edx
push eax
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x78]
call fcn.10011860
push esi
call fcn.10052e00
add esp, 4
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x88], ebx
jae 0x1003732a
lea eax, [esp + 0x74]
push 0x100c3454
push eax
call fcn.10056550
mov ebx, eax
mov eax, dword [esp + 0x7c]
add esp, 8
cmp ebx, edi
je 0x10037420
xor esi, esi
cmp dword [esp + 0x88], 0x10
jae 0x10037356
lea eax, [esp + 0x74]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.10056590
add esp, 8
test eax, eax
jne 0x1003736c
mov esi, dword [esp + 0x54]
lea eax, [esi + 1]
push 1
push eax
call fcn.1007c1d6
add esp, 8
mov ebp, eax
test esi, esi
jle 0x10037397
push ebx
push esi
push 1
push ebp
call fcn.1007ceb0
add esp, 0x10
add edi, eax
test eax, eax
je 0x10037397
cmp edi, esi
jl 0x10037380
push ebx
call fcn.1007cb77
add esp, 4
test esi, esi
jle 0x1003740c
push 1
push esi
mov esi, dword [esp + 0x1c]
push ebp
mov ecx, esi
call fcn.1006a0c0
mov ecx, esi
call fcn.1006a090
test al, al
jne 0x1003740c
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x100373d0
lea eax, [esp + 0x74]
push eax
push str.Read_failed_for_dictionary__s
push 0x100bfcc4
push 2
push 0x100c33d4
call fcn.10013480
push eax
call fcn.100564f0
add esp, 0x18
push str.Will_use_an_empty_zstring_dictionary
push 0
push 2
push 0x100c33d4
call fcn.10013480
push eax
call fcn.100564f0
add esp, 0x14
push ebp
call fcn.1007af72
mov ebp, dword [esp + 0x1c]
add esp, 4
xor edi, edi
lea ebx, [edi + 0x10]
jmp 0x1003746d
mov ebx, 0x10
cmp dword [esp + 0x88], ebx
jae 0x10037432
lea eax, [esp + 0x74]
push eax
push str.Cant_locate_dictionary__s
push 0x100bfcc4
push 2
push 0x100c33d4
call fcn.10013480
push eax
call fcn.100564f0
add esp, 0x18
push str.Will_use_an_empty_zstring_dictionary
push edi
push 2
push 0x100c33d4
call fcn.10013480
push eax
call fcn.100564f0
add esp, 0x14
mov eax, ebp
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], edi
mov byte [esp + 0x44], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10037483
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x48]
call fcn.10011860
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [0x100df910]
mov byte [esp + 0x49c], 6
call fcn.10036ef0
mov esi, dword [esp + 0x14]
mov dword [eax], esi
cmp dword [esp + 0x58], ebx
jb 0x100374c8
mov edx, dword [esp + 0x44]
push edx
call fcn.1007af72
add esp, 4
cmp dword [esp + 0x88], ebx
jb 0x100374de
mov eax, dword [esp + 0x74]
push eax
call fcn.1007af72
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x490]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x478]
xor ecx, esp
call fcn.1007b636
add esp, 0x488
ret