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

Disassembly:
push 0xffffffffffffffff
push 0x10090684
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov eax, dword [esp + 0xdc]
push ebx
push ebp
mov ebp, dword [esp + 0xe0]
push esi
xor esi, esi
cmp dword [eax], esi
push edi
mov dword [esp + 0x1c], esi
je 0x10004406
cmp byte [esp + 0xfc], 0
mov dword [esp + 0x20], esi
je 0x10003d6d
mov ecx, dword [ebp + 0x514]
mov edx, dword [ebp + 0x510]
push esi
push 2
push ecx
push edx
call fcn.1008fbf0
mov ebx, dword [esp + 0xf0]
add dword [ebx], eax
adc dword [ebx + 4], edx
jmp 0x10003dbc
mov eax, dword [esp + 0xf0]
test byte [eax + 0x10], 0x10
mov ebx, eax
je 0x10003d8f
mov ecx, dword [eax]
mov dword [ebp + 0x518], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x51c], edx
jmp 0x10003dbc
mov ecx, dword [ebp + 0x510]
add dword [ebp + 0x518], ecx
mov edx, dword [ebp + 0x514]
mov ecx, dword [ebp + 0x518]
adc dword [ebp + 0x51c], edx
mov dword [eax], ecx
mov edx, dword [ebp + 0x51c]
or dword [eax + 0x10], 0x10
mov dword [eax + 4], edx
cmp dword [ebp + 0x544], 1
jne 0x10003e13
mov edi, dword [ebp + 0x440]
test edi, edi
je 0x10003e05
lea esi, [edi + 0xa8]
mov eax, esi
call fcn.10042620
lea ebx, [edi + 0x288]
mov eax, ebx
call fcn.10042620
call fcn.100421c0
mov esi, ebx
call fcn.100421c0
push edi
call fcn.100823d5
mov ebx, dword [esp + 0xf4]
add esp, 4
xor eax, eax
mov dword [ebp + 0x440], eax
mov dword [ebp + 0x544], eax
cmp byte [ebp + 0x46c], 0
jne 0x10003e2a
test byte [esp + 0xf4], 1
jne 0x10003e2a
xor eax, eax
jmp 0x10003e2f
mov eax, 1
cmp dword [ebp + 0x440], 0
mov byte [ebp + 0x46c], al
jne 0x10003eaa
lea eax, [ebp + 0x470]
lea edx, [ebp + 0xa4]
call fcn.1000c4e0
cmp dword [ebp + 0x4f0], 0
jne 0x10003eaa
mov eax, dword [ebp + 0x4d8]
sub eax, dword [ebp + 0x4d0]
mov ecx, dword [ebp + 0x478]
add eax, 0xf
add ecx, 0xf
xor eax, ecx
test eax, 0xfffffff0
jne 0x10003e9b
mov edx, dword [ebp + 0x4dc]
sub edx, dword [ebp + 0x4d4]
mov eax, dword [ebp + 0x47c]
add edx, 0xf
add eax, 0xf
xor edx, eax
test edx, 0xfffffff0
je 0x10003eaa
mov edi, ebp
call fcn.10003220
test eax, eax
jl 0x10004408
cmp byte [ebp + 0x46c], 0
je 0x10003fb0
cmp dword [ebp + 0x440], 0
jne 0x10003ecf
mov eax, dword [ebp + 0x530]
test eax, eax
je 0x10003edc
cmp eax, 1
je 0x10003edc
cmp dword [ebp + 0x530], 2
jne 0x10003fb0
mov eax, dword [ebp + 0x90]
add eax, 0x34
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.10080740
mov eax, 0x100913e8
lea ecx, [esp + 0x50]
mov dword [esp + 0xe0], 0
call section..data
test eax, eax
je 0x10003f9c
mov eax, dword [esp + 0x68]
movzx ecx, word [eax + 0x56]
cmp cx, 0xc
je 0x10003f26
cmp cx, 0x18
jne 0x10003f9c
mov word [eax + 0x56], 0x10
mov word [eax + 0x54], 1
mov ecx, dword [0x100914e8]
mov dword [eax + 0x58], ecx
mov edx, dword [0x100914e8]
mov eax, dword [0x100914ec]
mov ecx, dword [0x100914f0]
mov esi, dword [ebp + 0x90]
mov dword [esp + 0x34], edx
mov edx, dword [0x100914f4]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call fcn.10001510
mov esi, eax
test esi, esi
jge 0x10003f9c
push 0
push esi
push 3
mov ecx, ebp
call fcn.1007d050
lea ecx, [esp + 0x24]
mov dword [esp + 0xe0], 0xffffffff
call fcn.10080720
jmp 0x10004406
lea ecx, [esp + 0x24]
mov dword [esp + 0xe0], 0xffffffff
call fcn.10080720
mov ecx, dword [esp + 0xf4]
lea eax, [esp + 0x1c]
push eax
push ecx
mov esi, ebx
mov edi, ebp
call fcn.10004560
test eax, eax
jl 0x10004408
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x10004408
mov edx, dword [edi]
mov ecx, dword [edx + 0xc]
lea eax, [esp + 0x20]
push eax
push edi
call ecx
mov esi, eax
test esi, esi
jl 0x10004423
cmp dword [esp + 0x20], 0
je 0x10004423
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
mov edx, dword [edi]
mov ecx, dword [edx + 0x34]
push eax
push edi
call ecx
test eax, eax
jl 0x10004065
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10004065
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.10080740
mov dword [esp + 0xe0], 1
mov ecx, dword [ebp + 0x90]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x24]
push eax
call edx
mov eax, dword [esp + 0x18]
push eax
call fcn.100807c0
or ebx, 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0xe0], ebx
call fcn.10080720
jmp 0x10004068
or ebx, 0xffffffff
mov eax, dword [ebp + 0xf0]
test eax, eax
je 0x1000413b
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x1000413b
cmp ecx, dword [ebp + 0x4fc]
je 0x1000413b
mov eax, dword [ebp + 0x90]
add eax, 0x34
push 0
mov dword [ebp + 0x4fc], ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.10080740
lea edx, [esp + 0x13]
push edx
push 0
lea eax, [esp + 0x2c]
push eax
push ebp
mov dword [esp + 0xf0], 2
call fcn.10001de0
test eax, eax
jl 0x1000412b
cmp byte [esp + 0x13], 0
je 0x1000412b
mov eax, dword [ebp + 0x90]
mov ecx, dword [eax + 0xc]
add eax, 0xc
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jl 0x1000412b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jne 0x1000411f
mov ecx, dword [ebp + 0x90]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x24]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x24]
push ecx
push edi
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x24]
mov dword [esp + 0xe0], ebx
call fcn.10080720
xor eax, eax
cmp dword [ebp + 0x530], 2
setne al
sub eax, 1
and eax, dword [esp + 0xf4]
mov esi, eax
and esi, 1
cmp esi, dword [ebp + 0x53c]
je 0x10004246
mov eax, dword [ebp + 0x90]
add eax, 0x34
push 0
push eax
lea ecx, [esp + 0x74]
call fcn.10080740
mov eax, 0x100913e8
lea ecx, [esp + 0x98]
mov dword [esp + 0xe0], 3
call section..data
test eax, eax
je 0x10004236
push 0
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x2c]
call fcn.10080740
mov byte [esp + 0xe0], 4
mov eax, dword [esp + 0x68]
add eax, 0x30
test esi, esi
mov dword [eax], 0
je 0x100041ca
mov dword [eax], 0xa1
mov eax, dword [ebp + 0x90]
mov edx, dword [eax + 0xc]
mov edx, dword [edx + 0x18]
add eax, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
call edx
test eax, eax
jl 0x10004225
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
test eax, eax
jne 0x10004219
mov ecx, dword [ebp + 0x90]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x24]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x24]
push ecx
push edi
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xe0], 3
call fcn.10080720
lea ecx, [esp + 0x6c]
mov dword [esp + 0xe0], ebx
call fcn.10080720
cmp dword [ebp + 0x440], 0
jne 0x100043a8
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, 0x10000
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x530]
test eax, eax
je 0x100042a8
cmp eax, 1
jne 0x100042b0
or dword [esp + 0x6c], 0x400
push 0x30
lea eax, [esp + 0x28]
push 0
push eax
call fcn.10083450
add esp, 0xc
lea edx, [ebp + 0xa4]
lea eax, [esp + 0x24]
call fcn.1000c4e0
mov eax, dword [ebp + 0x52c]
cmp eax, 1
mov edx, 0x40000
mov ecx, 0xfffbffff
jne 0x100042eb
or dword [esp + 0x38], edx
jmp 0x100042f3
test eax, eax
jne 0x100042f3
and dword [esp + 0x38], ecx
mov eax, dword [ebp + 0x528]
cmp eax, 1
je 0x10004314
cmp dword [ebp + 0x548], 0
je 0x1000430c
cmp eax, 2
je 0x10004314
and dword [ebp + 0x4b4], ecx
jmp 0x1000431a
or dword [ebp + 0x4b4], edx
mov eax, dword [ebp + 0x454]
test eax, eax
je 0x10004329
cmp eax, 3
jne 0x1000433d
cmp dword [ebp + 0x44c], 0
jle 0x1000433d
mov dword [esp + 0x84], 4
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0x28]
push edx
lea esi, [ebp + 0x4a0]
push esi
call fcn.10045720
mov ebx, eax
add esp, 0xc
lea eax, [ebp + 0x4d0]
push eax
lea ecx, [esp + 0xbc]
push ecx
lea edi, [esp + 0x2c]
mov dword [ebp + 0x440], ebx
call fcn.100032f0
lea edx, [ebp + 0x4e0]
push edx
lea eax, [esp + 0xd4]
push eax
mov edi, esi
call fcn.100032f0
lea ecx, [esp + 0xd8]
push ecx
push ebx
lea esi, [esp + 0xd0]
call fcn.100422b0
mov edi, dword [esp + 0x34]
add esp, 0x18
mov ecx, dword [ebp + 0x440]
test ecx, ecx
je 0x100043ee
mov eax, dword [esp + 0xf4]
mov edx, dword [esp + 0x20]
or eax, dword [esp + 0xf8]
mov dword [esp + 0xb8], edx
call fcn.10042660
mov eax, dword [esp + 0xec]
push eax
mov eax, dword [ebp + 0x440]
lea ecx, [esp + 0xbc]
push ecx
call fcn.10042680
add esp, 8
mov ecx, dword [ebp + 0x90]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
push edi
call eax
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
mov esi, eax
call edx
mov eax, esi
mov ecx, dword [esp + 0xd8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd4
ret 0x18
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
jmp 0x10004406